package protocols

type SmsReq struct {
	Phone    string `json:"phone" mapstructure:"phone"`
	OpenId   string `json:"openId" mapstructure:"openId"`
	AuthType string `json:"authType" mapstructure:"authType"`
}

type OrderReq struct {
	CourseIds []int  `json:"courseIds" mapstructure:"courseIds"`
	StudentId int    `json:"studentId" mapstructure:"studentId"`
	OpenId    string `json:"openId" mapstructure:"openId"`
	PayType   string `json:"payType" mapstructure:"payType"`
}

type OrderPayReq struct {
	OrderNo string `json:"orderNo" mapstructure:"orderNo"`
	OpenId  string `json:"openId" mapstructure:"openId"`
	PayType string `json:"payType" mapstructure:"payType"`
}

type OrderRefundPre struct {
	OrganPrice     float64 `json:"organPrice" mapstructure:"organPrice"`
	OrganMomPrice  float64 `json:"organMomPrice" mapstructure:"organMomPrice"`
	MemberMomPrice float64 `json:"memberMomPrice" mapstructure:"memberMomPrice"`
	OrderPrice     float64 `json:"orderPrice" mapstructure:"orderPrice"`
	SystemPrice    float64 `json:"systemPrice" mapstructure:"systemPrice"`
}
